|
Расположение в меню |
---|
Arch → Axis tools → Grid |
Верстаки |
Arch |
Быстрые клавиши |
Нет |
Представлено в версии |
- |
См. также |
Arch Axis/ru, Arch AxisSystem/ru |
The Arch Grid tool allows you to place a grid-like object in the document. This object is meant to serve as a base to build Arch objects that need a regular but complex frame, such as windows, curtain walls, column grids, railings, etc. The Grid object is editable like a spreadsheet, where you can add or remove columns and rows, define their size, and merge cells.
The Grid is a 2D object, and can therefore be used anywhere a 2D shape such as a Draft or Sketch is needed, but it can also behave as a Arch AxisSystem, and be used to propagate the placement of other Arch objects.
An array of columns, a railing system, and a window, each based on an Arch Grid object.
См. так же: Arch API и Основы составления скриптов в FreeCAD.
The Grid tool can be used in macros and from the Python console by using the following function:
Grid = makeGrid(name="Grid")
Grid
object.Its Width
, Height
, Rows
, and Columns
attributes can be changed directly to define the appearance of the grid.
import FreeCAD, Draft, Arch
Grid = Arch.makeGrid()
Grid.Width = 5000
Grid.Height = 5000
Grid.Rows = 4
Grid.Columns = 6
FreeCAD.ActiveDocument.recompute()
Structure = Arch.makeStructure(length=200, width=200, height=100)
Draft.move(Structure, FreeCAD.Vector(-100, 0, 0))
Structure.Axis = Grid
FreeCAD.ActiveDocument.recompute()